package com.baizhiedu.config;

import com.baizhiedu.injection.UserDao;
import com.baizhiedu.injection.UserDaoImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * ClassName: AppConfig2
 * Description:
 * Date: 2022/12/03 PM 11:32:11
 * <p>
 * project: spring5
 * package: com.baizhiedu.config
 * email: 1085844536@qq.com
 * version:
 *
 * @author WangGuojian
 */
@Configuration
public class AppConfig2 {

    @Bean
    public UserDao userDao() {
        return new UserDaoImpl();
    }
}
